package test;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
public class Bus implements  Car{
    @Qualifier("person")
    public void drive() {
        System.out.println("司机开着公交");
    }
}
